{% extends 'base.html' %}

{% block title %}Mis cuestionarios.{% endblock %}

{% block breadcrum %}
<p class="bread">
    Ir a: <a class="bread" href="/home/">Inicio</a>
</p>
{% endblock %}

{% block body %}
        <h3>Mis cuestionarios:</h3>
        <table>
            <tr><th>Títulos de tus cuestionarios:</th></tr>
            {% for i in myforms %}
                <tr>
                    <td><a href="/edit_form/{{ i.0 }}/">{{ i.1|escape }}</a>
                            <a class="crud" href="/update_my_form/{{i.0}}/">[Actualizar]</a>
                            <a class="crud" href="/delete_my_form/{{i.0}}/">[Eliminar]</a>
                    </td>
                </tr>
            {% endfor %}
        </table>
        <p><a href="/my_forms/new/">+ Agregar un cuestionario.</a></p>
        <p>Regresa a la <a href="/home/" >página principal</a>.</p>
{% endblock %}
